package MD2Model;

/**
 * This define a vertex
 * it will hold the oposition in char
 * and a cormalIndex in char
 *
 */

public class Vertex {
	private char x; /* position */
	private char y;
	private char z;
	//private char normalIndex; /* normal vector index */

	/**
	 * Constructor
	 */
	public Vertex () {
	}
	
	/**
	 * Set value for vertex
	 * @param x x position of vertex
	 * @param y y position of vertex
	 * @param z z position of vertex
	 * @param n the normalIndex of vertex
	 */
	public void SetValue (char x, char y, char z, char n){
		this.x = x;
		this.y = y;
		this.z = z;
		//normalIndex = n;
	}
	
	/**
	 * Get X position
	 * @return the x position of vertex
	 */
	public char GetX (){
		return x;
	}
	
	/**
	 * Get Y position
	 * @return y position of vertex
	 */
	public char GetY (){
		return y;
	}
	
	/**
	 * Get Z position
	 * @return the y position of vertex
	 */
	public char GetZ (){
		return z;
	}
}
